//
//  AlipayTopView.h
//  Alipay
//
//  Created by 张强 on 16/8/31.
//  Copyright © 2016年 张强. All rights reserved.
//

#import <UIKit/UIKit.h>


/*!
 * 按钮类型枚举
 */
typedef NS_ENUM(NSInteger,AXFIconViewButtonType){
    AXFIconViewButtonTypeCard = 1,
    AXFIconViewButtonTypePay,
    AXFIconViewButtonTypeScan,
    AXFIconViewButtonTypeXiu
};

/*!
 * 协议
 */
@protocol AXFIconViewDelegate <NSObject>

- (void)AXFIconViewButtonClick:(UIButton *)sender;

@end

@interface AXFIconView : UIView

/*!
 * 代理
 */
@property(nonatomic,weak)id<AXFIconViewDelegate> delegate;
- (instancetype)initWithFrame:(CGRect)frame model:(NSArray<AXFDataModel *> *)model;

@end
